<style>

    .content .row,.modal-body .row{margin-bottom: 20px;}
    td{cursor: pointer}

    .SchedulingList td:not(:empty){background: #9d9d9d}
    .SchedulingList tr td:first-child{background: #fff;}
    select[name='address']{width: 200px;height: 30px}
</style>
<section class="content">
    <div class="row">
        <div class="col-xs-1 col-xs-offset-10">
            <a href="javascript:;" class="btn btn-primary"  ui-sref="doctorManage/doctorList">返回上一级</a>
        </div>
    </div>
    <div class="row" ng-if="showScheduling">
        <div class="col-xs-1 text-center" style="padding-top: 30px">
            排<br/>
            班<br/>
            设<br/>
            置
        </div>
            <div class="col-xs-11">
                <table class="table table-striped table-bordered text-center SchedulingList">
                    <tr>
                        <th></th>
                        <th>周一</th>
                        <th>周二</th>
                        <th>周三</th>
                        <th>周四</th>
                        <th>周五</th>
                        <th>周六</th>
                        <th>周日</th>
                    </tr>
                    <tr class="morning">
                        <td>上午</td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                    </tr>
                    <tr class="afternoon">
                        <td>下午</td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                    </tr>
                    <tr class="night">
                        <td>晚上</td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                        <td  data-toggle="modal" data-target="#myModal" ng-click="chose($event)"></td>
                    </tr>
                </table>
            </div>

    </div>
    <div class="row" ng-if="showTime">

    <div class="col-xs-1  text-center col-xs-offset-3">
        电<br />
        话<br />
        咨<br />
        询<br />
        设<br />
        置
    </div>
    <div class="col-xs-5">
        <table class="table table-striped table-bordered callMode">
            <tr>
                <th>服务项目</th>
                <th>设置</th>
            </tr>
            <tr>
                <td>通话分钟数</td>
                <td>
                    <select name="callTime">
                        <option value="5">5分钟</option>
                        <option value="10">10分钟</option>
                        <option value="15">15分钟</option>
                        <option value="20">20分钟</option>
                        <option value="25">25分钟</option>
                        <option value="30">30分钟</option>
                        <option value="35">35分钟</option>
                        <option value="40">40分钟</option>
                        <option value="45">45分钟</option>
                        <option value="50">50分钟</option>
                        <option value="55">55分钟</option>
                        <option value="60">60分钟</option>
                    </select>
                </td>

            </tr>
            <tr>
                <td>价格</td>
                <td>
                    <input type="text" name="money"  style="width: 50px" value="{{dataList.money}}"> 元
                </td>

            </tr>
            <tr>
                <td colspan="2" class="text-center">
                    <button class="btn btn-primary" ng-click="commitCall()">提交</button>
                </td>
            </tr>
        </table>
    </div>


    </div>
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                        &times;
                    </button>
                    <h4 class="modal-title" id="myModalLabel">
                        详情设置
                    </h4>
                </div>
                <div class="modal-body">
                   <div class="row">
                       <div class="col-xs-5 col-md-offset-1">
                           <div class="show-time">
                               <p class="morningTime" ng-if="show==1">
                                   开始时间：
                                   <select name="startIndex" class="">
                                       <option value="8">08</option>
                                       <option value="9">09</option>
                                       <option value="10">10</option>
                                       <option value="11">11</option>
                                       <option value="12">12</option>
                                       <option value="13">13</option>
                                       <option value="14">14</option>
                                   </select> 时
                                   <select name="startSec">
                                       <option value="00">00</option>
                                       <option value="10">10</option>
                                       <option value="20">20</option>
                                       <option value="30">30</option>
                                       <option value="40">40</option>
                                       <option value="50">50</option>
                                       <option value="60">60</option>
                                   </select> 分 <br /><br />
                                   结束时间：
                                   <select name="endIndex">
                                       <option value="8">08</option>
                                       <option value="9">09</option>
                                       <option value="10">10</option>
                                       <option value="11">11</option>
                                       <option value="12">12</option>
                                       <option value="13">13</option>
                                       <option value="14">14</option>
                                   </select> 时
                                   <select name="endSec">
                                       <option value="00">00</option>
                                       <option value="10">10</option>
                                       <option value="20">20</option>
                                       <option value="30">30</option>
                                       <option value="40">40</option>
                                       <option value="50">50</option>
                                       <option value="60">60</option>
                                   </select> 分

                               </p>
                               <p class="afternoonTime" ng-if="show==2">
                                   开始时间：
                                   <select name="startIndex">
                                       <option value="12">12</option>
                                       <option value="13">13</option>
                                       <option value="14">14</option>
                                       <option value="15">15</option>
                                       <option value="16">16</option>
                                       <option value="17">17</option>
                                       <option value="18">18</option>
                                       <option value="19">19</option>
                                       <option value="20">20</option>
                                   </select> 时
                                   <select name="startSec">
                                       <option value="00">00</option>
                                       <option value="10">10</option>
                                       <option value="20">20</option>
                                       <option value="30">30</option>
                                       <option value="40">40</option>
                                       <option value="50">50</option>
                                       <option value="60">60</option>
                                   </select> 分 <br /><br />
                                   结束时间：
                                   <select name="endIndex">
                                       <option value="12">12</option>
                                       <option value="13">13</option>
                                       <option value="14">14</option>
                                       <option value="15">15</option>
                                       <option value="16">16</option>
                                       <option value="17">17</option>
                                       <option value="18">18</option>
                                       <option value="19">19</option>
                                       <option value="20">20</option>
                                   </select> 时
                                   <select name="endSec">
                                       <option value="00">00</option>
                                       <option value="10">10</option>
                                       <option value="20">20</option>
                                       <option value="30">30</option>
                                       <option value="40">40</option>
                                       <option value="50">50</option>
                                       <option value="60">60</option>
                                   </select> 分

                               </p>
                               <p class="nightTime" ng-if="show==3">
                                   开始时间：
                                   <select name="startIndex">
                                       <option value="18">18</option>
                                       <option value="19">19</option>
                                       <option value="20">20</option>
                                       <option value="21">21</option>
                                       <option value="22">22</option>

                                   </select> 时
                                   <select name="startSec">
                                       <option value="00">00</option>
                                       <option value="10">10</option>
                                       <option value="20">20</option>
                                       <option value="30">30</option>
                                       <option value="40">40</option>
                                       <option value="50">50</option>
                                       <option value="60">60</option>
                                   </select> 分 <br /><br />
                                   结束时间：
                                   <select name="endIndex">
                                       <option value="18">18</option>
                                       <option value="19">19</option>
                                       <option value="20">20</option>
                                       <option value="21">21</option>
                                       <option value="22">22</option>
                                   </select> 时
                                   <select name="endSec">
                                       <option value="00">00</option>
                                       <option value="10">10</option>
                                       <option value="20">20</option>
                                       <option value="30">30</option>
                                       <option value="40">40</option>
                                       <option value="50">50</option>
                                       <option value="60">60</option>
                                   </select> 分

                               </p>
                           </div>
                       </div>
                   </div>
                    <div class="row">
                        <div class="col-xs-7">
                               <span class="pull-left">
                                   预约限号: <input type="text" name="reservationNumber" value="{{editorDocModal.reservationNumber}}" style="width: 50px" ng-model="editorDocModal.reservationNumber">
                               </span>
                            <span class="pull-right">
                                   金额：<input type="text" value="{{editorDocModal.money}}" style="width: 50px" ng-model="editorDocModal.money">
                               </span>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            执业点：
                            <select name="address">
                                <option ng-repeat="n in addressList" value="{{n.wecaId}}" > {{n.name}}</option>
                            </select>

                        </div>
                    </div>
                    <!--<div class="row">-->
                        <!--<div class="col-xs-12">-->
                            <!--地&emsp;&emsp;点：<input type="text" value="{{editorDocModal.address}}" style="width: 300px" ng-model="editorDocModal.address">-->
                        <!--</div>-->
                    <!--</div>-->
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-warning" ng-click="del()">删除</button>
                    <button type="button" class="btn btn-primary" ng-click="commit()">提交</button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
</section>